<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>

  <style>
    body {
      margin: 0px;
    }

    .parent {
      background-color: lightblue;
      margin-top: 50px;
      height: 300px;
      padding-top: 50px;
    }

    .child {
      background-color: lightpink;
      height: 100px;
      width: 200px;
    }
  </style>

</head>

<body>
  <div class="parent">
    <div class="child">

    </div>
  </div>
</body>

</html>